<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="https://unpkg.com/better-scroll@latest/dist/better-scroll.min.js"></script>
  <style>
    .wrapper {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    .item {
      line-height: 88px;
    }
  </style>
</head>
<body>
  <div class="wrapper" id="wrapper">
    <ul class="content">
      <li class="item">1</li>
      <li class="item">2</li>
      <li class="item">3</li>
      <li class="item">4</li>
      <li class="item">5</li>
      <li class="item">6</li>
      <li class="item">7</li>
      <li class="item">8</li>
      <li class="item">9</li>
    </ul>
  </div>
  <script>
    let wrapper = document.getElementById("wrapper")
    let bs = BetterScroll.createBScroll(wrapper, {})
  </script>
</body>
</html>